<template>
	<view class="followleft">
		<follow-list :list="list_left" ref="list_left"></follow-list>
	</view>
</template>

<script>
	import t from '../common/helper.js'
	import FollowList from './FollowList.vue';
	
	export default {
		name:"FollowLeft",
		data() {
			return {
				list_left: [],
			};
		},
		components: {
			FollowList,
		},
		methods: {
			getVideoList() {
				uni.request({
					url: t.o+'/json/videos.json',
					success: (res) => {
						this.list_left = res.data.list.slice(0,3);
					}
				})
			},
		},
		mounted() {
			this.getVideoList();
		}
	}
</script>
	
<style>
	.followleft {
		width: 100%;
		height: 100%;
	}
</style>
